package com.xcf.service.business.common.ticketfee.impl;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.xcf.dao.DaoSupport;
import com.xcf.service.business.common.ticketfee.TicketFeeService;
import com.xcf.util.PageData;
@Service("TicketFeeServiceImpl")
public class TicketFeeServiceImpl implements TicketFeeService{
	@Resource(name="daoSupport")
	private DaoSupport daoSupport;

	//列表的查询及显示
	@SuppressWarnings("unchecked")
	@Override
	public List<PageData> serch(PageData pd) throws Exception {
		
		return (List<PageData>) daoSupport.findForList("ticketfeeMapper.serch", pd);
	}

	//修改
	@Override
	public void updite(PageData pd) throws Exception {
	daoSupport.update("ticketfeeMapper.updite", pd);
		
	}

	//新增
	@Override
	public void save(PageData pd) throws Exception {
		daoSupport.save("ticketfeeMapper.save", pd);
		
	}

	@Override
	public void delete(PageData pdq) throws Exception {
		daoSupport.delete("ticketfeeMapper.delete", pdq);
		
	}

}
